package org.example.petsystem.mapper;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface OrderMapper {

    int addOrder(Map<String, Object> map);

    List<Map<String,Object>>displayOrderU(String user_phone);

    List<Map<String,Object>>displayOrderB(String Buyers_phone);

    int checkUserExists(String phone);

    int checkGoodsExists(String code);

    int updateOrderStatus(Map<String,Object>map);


}
